<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="template.xhtml">

  <ui:define name="content">
		<h:dataTable var="customer" value="#{customerList.customerList}">
		<h:column>
			<f:facet name="header">
				<h:outputText value="Username" />
			</f:facet>
			<h:outputText value="#{customer.username}" />
		</h:column>
		<h:column>
			<f:facet name="header">
				<h:outputText value="Address" />
			</f:facet>
				<h:outputText value="#{customer.address}" />
		</h:column>
		<h:column>
			<f:facet name="header">
				<h:outputText value="Discount" />
			</f:facet>
				 <h:outputText value="#{customer.discount}" />
		</h:column>
	</h:dataTable>
  </ui:define>
  
</ui:composition>